set(PACKAGE_NAME stress-map-insdel-func)

set(CDSSTRESS_MAP_INSDEL_FUNC_SOURCES
    ../../main.cpp
    map_insdel_func.cpp
    map_insdel_func_bronsonavltree.cpp
    map_insdel_func_cuckoo.cpp
    map_insdel_func_ellentree.cpp
    map_insdel_func_feldman_hashset.cpp
    map_insdel_func_michael.cpp
    map_insdel_func_skip.cpp
    map_insdel_func_split.cpp
    map_insdel_func_striped.cpp
)

include_directories(
    ${CMAKE_CURRENT_SOURCE_DIR}
    ${CMAKE_CURRENT_SOURCE_DIR}/..
)

add_executable(${PACKAGE_NAME} ${CDSSTRESS_MAP_INSDEL_FUNC_SOURCES})
target_link_libraries(${PACKAGE_NAME} ${CDS_TEST_LIBRARIES} ${CDSSTRESS_FRAMEWORK_LIBRARY})

add_test(NAME ${PACKAGE_NAME} COMMAND ${PACKAGE_NAME} WORKING_DIRECTORY ${EXECUTABLE_OUTPUT_PATH})